package com.xhm.bbs.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhm.common.constant.JsonFieldConst;
import com.xhm.common.pojo.vo.AbstractVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import static com.xhm.bbs.pojo.example.UserExample.*;

/**
 * 【用户】列表展示对象
 *
 * @author mrj
 * @date 2020/01/01
 */
@ApiModel(description = "【用户】列表展示对象")
public class UserListVO extends AbstractVO {

    @ApiModelProperty(notes = N_ID,example = E_ID)
    private Integer id;

    @ApiModelProperty(notes = N_USER_NAME,example = E_USER_NAME)
    private String userName;

    @ApiModelProperty(notes = N_AGE,example = E_AGE)
    private Integer age;

    @ApiModelProperty(notes = N_ORDER_NO,example = E_ORDER_NO)
    private Integer orderNo;

    @ApiModelProperty(notes = N_CREATED_TIME,example = E_CREATED_TIME)
    @JsonFormat(pattern=JsonFieldConst.DEFAULT_DATETIME_FORMAT,timezone="GMT+8")
    private Date createdTime;

    @ApiModelProperty(notes = N_OPERATED_TIME,example = E_OPERATED_TIME)
    @JsonFormat(pattern=JsonFieldConst.DEFAULT_DATETIME_FORMAT,timezone="GMT+8")
    private Date operatedTime;


    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return this.age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Date getCreatedTime() {
        return this.createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getOperatedTime() {
        return this.operatedTime;
    }

    public void setOperatedTime(Date operatedTime) {
        this.operatedTime = operatedTime;
    }



}

